package org.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Auther:Liu
 * @Testname:feignService
 * @Date:2025/9/8 17:31
 */
@FeignClient("cloud-service-goverance-prodiver")
public interface feignService {
    @GetMapping("/prodiver")
    String a();

    @GetMapping("/prodiver/b/{name}")
    String b(@PathVariable("name") String name);
}
